<script setup>
import { ref ,defineProps} from 'vue'
const props = defineProps({
    row: {
        type: Object,
        default: () => ({})
    },
    subjectDetial: {
        type: Array,
        default: () => []
    }
})

</script>

<template>



    <el-table :data="props.subjectDetial" style="width: 100%">
        <el-table-column prop="test_date" label="考核时间" width="180"/>
        <el-table-column label="人员" width="100">
            <template #default="scope">
                {{scope.row.student.name}}
            </template>
        </el-table-column>
        <el-table-column label="科目" width="100">
            <template #default="scope">
                {{scope.row.subject.name}}
            </template>
        </el-table-column>
        <el-table-column sortable prop="score" label="成绩" width="100"/>

        <el-table-column prop="grade" label="评定" />
    </el-table>
</template>

<style scoped>

</style>
